<template>
 <div>
  御剑乘风来,除魔天地间!===slot2
  <div class="box">
    <div class="left"><slot name="left" msg="我是插槽是父亲" id="123"></slot></div>
    <div class="right"><slot name="right" mg="我是SlotCom2组件的插槽" n=1234></slot></div>
  </div>
 </div>
</template>
<script>
export default{
    name:'',
    data () {
        return {
        }
    },
    created () {
    },
    computed:{
    },
    methods:{
    }
}
</script>
<style lang='less'  scoped>
.box{
  display: flex;
  justify-content: space-between;
  width: 500px;
  height: 200px;
  background-color: aqua;
  
}
    
</style>
